<page-header [title]="title" [subTitle]="subTitle"></page-header>
<div class="panel panel-default">
    <div class="panel-body">
        <!--<div class="form-inline">
            <div class="form-group">
                <input type="text" [(ngModel)]="queryParams.loginName" class="form-control" placeholder="账号">
            </div>
            <div class="form-group">
                <input type="text" [(ngModel)]="queryParams.userName" class="form-control" placeholder="用户名">
            </div>
            <button type="button" class="btn btn-default" (click)="getMgUserList()">
                <i class="glyphicon glyphicon-search"></i>
                查询
            </button>
        </div>-->
        <br>
        <div class="table-responsive">
            <table class="table table-bordered">
                <tr class="active">
                    <th>时间</th>
                    <th>发送人</th>
                    <th>内容</th>
                    <th>操作</th>
                </tr>
                <tr *ngFor="let item of flist" >
                    <td>{{item.createTime}}</td>
                    <td>{{item.userNick}}</td>
                    <td style="width: 65%">
                        <div class="row">
                            <div *ngFor="let p of formatPic(item.picture)" class="col-xs-2">
                                <img class="img-responsive" [src]="'http://yuxun.oss-cn-shenzhen.aliyuncs.com/'+p" />
                            </div>
                        </div>
                        <br>
                        <p>{{item.words}}</p>
                    </td>
                    <td style="width: 13%" class="text-center">
                        <div *ngIf="item.status==0">
                            <a href="javascript:void(0)" (click)="pass(item)">通过</a> |
                            <a href="javascript:void(0)" (click)="unpass(item)">不通过</a>
                        </div>
                        <div *ngIf="item.status==1">
                            已通过
                        </div>
                        <div *ngIf="item.status==2">
                            未通过
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <pager></pager>
    </div>
</div>